package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.PageDTO;
import com.leyou.item.dto.BrandDTO;

import com.leyou.item.entity.Brand;


import java.util.List;

public interface BrandService extends IService<Brand> {


    List<BrandDTO> queryByBrandId(List<Long> ids);

    List<BrandDTO> queryByCategoryId(Long id);

    BrandDTO queryBrandByBrandId(Long id);

    PageDTO<BrandDTO> pageQuery(Integer page, Integer rows,String key);

    void addBrand(BrandDTO brandDTO);

    void upDateBrandById(BrandDTO brandDTO);

    void deleteBrandById(Long id);
}
